package com.ssy.lingxi.member.merchant.model.vo.comment.request;

import com.ssy.lingxi.common.model.vo.PageVO;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 收到订单评价接口查询参数VO
 * @author yzc
 * @version 2.0.0
 * @date 2020/10/14
 */
public class MemberReceiveTradeCommentQueryVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -5073479492109431680L;

    /**
     * 评价星级（1-5）
     */
    private Integer star;

    /**
     * 交易时间开始
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dealTimeStart;

    /**
     * 交易时间结束
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dealTimeEnd;

    /**
     * 评价方名称
     */
    private String memberName;

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public LocalDateTime getDealTimeStart() {
        return dealTimeStart;
    }

    public void setDealTimeStart(LocalDateTime dealTimeStart) {
        this.dealTimeStart = dealTimeStart;
    }

    public LocalDateTime getDealTimeEnd() {
        return dealTimeEnd;
    }

    public void setDealTimeEnd(LocalDateTime dealTimeEnd) {
        this.dealTimeEnd = dealTimeEnd;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }
}
